package com.spring.library.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author danty
 * @since 2024-09-19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Record implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "record_id", type = IdType.AUTO)
    private Integer recordId;

    private String recordBookname;

    private String recordBookisbn;

    private String recordBorrower;

    private String recordBorrowtime;

    private String recordRemandtime;

    public Integer getRecordId() {
        return recordId;
    }

    public void setRecordId(Integer recordId) {
        this.recordId = recordId;
    }
    public String getRecordBookname() {
        return recordBookname;
    }

    public void setRecordBookname(String recordBookname) {
        this.recordBookname = recordBookname;
    }
    public String getRecordBookisbn() {
        return recordBookisbn;
    }

    public void setRecordBookisbn(String recordBookisbn) {
        this.recordBookisbn = recordBookisbn;
    }
    public String getRecordBorrower() {
        return recordBorrower;
    }

    public void setRecordBorrower(String recordBorrower) {
        this.recordBorrower = recordBorrower;
    }
    public String getRecordBorrowtime() {
        return recordBorrowtime;
    }

    public void setRecordBorrowtime(String recordBorrowtime) {
        this.recordBorrowtime = recordBorrowtime;
    }
    public String getRecordRemandtime() {
        return recordRemandtime;
    }

    public void setRecordRemandtime(String recordRemandtime) {
        this.recordRemandtime = recordRemandtime;
    }

    @Override
    public String toString() {
        return "Record{" +
            "recordId=" + recordId +
            ", recordBookname=" + recordBookname +
            ", recordBookisbn=" + recordBookisbn +
            ", recordBorrower=" + recordBorrower +
            ", recordBorrowtime=" + recordBorrowtime +
            ", recordRemandtime=" + recordRemandtime +
        "}";
    }
}
